package com.empire.module.member.controller.admin.internetarticle.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.empire.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.empire.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 互联网文章分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class InternetArticlePageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "账号来源,字典主键id", example = "1")
    private Long dictionaryType;

    @Schema(description = "原文章id", example = "17514")
    private String articleId;

    @Schema(description = "原文章relate_article_gen_uuid对应的murmurhash值，用来查询多媒体表internet_article_media对应的ID", example = "19373")
    private Long articleGenUuidHashId;

    @Schema(description = "文章url", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "文章标题")
    private String title;

    @Schema(description = "标题翻译")
    private String titleCn;

    @Schema(description = "文章类型: 1-原创 2-转发 3-引用 4-评论", example = "1")
    private Integer articleType;

    @Schema(description = "内容文本")
    private String content;

    @Schema(description = "翻译文本")
    private String contentCn;

    @Schema(description = "发文时间戳(秒)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Long[] publishedTime;

    @Schema(description = "发文位置")
    private String location;

    @Schema(description = "文章作者的唯一标识", example = "19484")
    private String userGenUuid;

    @Schema(description = "文章UUID", example = "20714")
    private String articleGenUuid;

    @Schema(description = "多媒体列表")
    private String mediaList;

    @Schema(description = "所属人员ID", example = "23370")
    private Long personId;

    @Schema(description = "标签列表")
    private String tags;

}